extends Panel

@onready var sprite=$Sprite2D

func update(full:bool) -> void:
    var tween=create_tween()
    if full:tween.tween_property(sprite,'frame',0,0.2)
    else:tween.tween_property(sprite,'frame',4,0.2)